package com.telecom.pojo.entity;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 套餐表
 * </p>
 *
 * @author GWX.cz
 * @since 2025-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
public class Meal implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜品ID(主键)
     */
    private Long id;

    /**
     * 菜品名
     */
    private String name;

    /**
     * 菜品描述
     */
    private String description;

    /**
     * 菜品价格
     */
    private BigDecimal price;

    /**
     * 菜品种类(0:BREAKFAST 1:LUNCH 2:DINNER)
     */
    private Integer mealType;

    /**
     * 菜品所在日期
     */
    private LocalDate date;

    /**
     * 图片URL
     */
    private String imageUrl;

    /**
     * 是否可用(1:是 0:否)
     */
    private Boolean isAvailable;

    /**
     * 最大供应量
     */
    private Integer stock;

    /**
     * 销量
     */
    private Integer salesCount;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
